package com.joysuch.wwyt.bp.mapper;

import com.joysuch.wwyt.bp.entity.BpRewardJobRule;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author heqifeng
 * @since 2022-01-06
 */
public interface BpRewardJobRuleMapper extends BaseMapper<BpRewardJobRule> {
    Integer updateByJobId(@Param("jobRule") BpRewardJobRule jobRule);
    void deleteByJobIdNotIn(@Param("useJobs") List<Long> useJobs);
}
